package com.bilgeadam.hibernate.model.dal;

import java.util.List;

import com.bilgeadam.hibernate.model.entity.EntityBase;

/**
 * 
 * @author Bora SAYINER
 * @since Nov 16, 2014 5:18:32 PM
 * @version 1.0.0
 */
public interface GenericDal<T, E extends EntityBase<T>> {

	public abstract E findById(T id);
	
	public abstract List<E> getAll();
	
	public abstract boolean add(E e);
	
	public abstract boolean delete(E e);
	
	public abstract boolean update(E e);
}
